﻿<!DOCTYPE html>
<html lang="en">
<head>
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=1">
    <meta name="format-detection" content="telephone=no">
    <meta charset="UTF-8">
    <title>一颗骰子1</title>

    <style>
        .father{
            width: 100px; height: 100px; border: 1px solid red;
        }
        .child{
            width: 20px; height: 20px; border: 1px solid blue; border-radius: 50%;
        }

        .father2{
            display:flex; justify-content:center;
        }
        .father3{
            display:flex; justify-content:flex-end;
        }
        .father4{
            display:flex; flex-direction: column; justify-content:center;
        }
        .father5{
            display:flex; justify-content:center; align-items:center;
        }
        .father6{
            display:flex; justify-content:center; align-items:flex-end;
        }
        .father7{
            display:flex; justify-content:flex-end; align-items:flex-end;
        }
    </style>
</head>
<body>
    <h1>一颗骰子1</h1>
    <div class="father">
        <div class="child"></div>
    </div>
    <br />
    <div class="father father2">
        <div class="child"></div>
    </div>
    <br />
    <div class="father father3">
        <div class="child"></div>
    </div>
    <br />
    <div class="father father4">
        <div class="child"></div>
    </div>
    <br />
    <div class="father father5">
        <div class="child"></div>
    </div>
    <br />
    <div class="father father6">
        <div class="child"></div>
    </div>
    <br />
    <div class="father father7">
        <div class="child"></div>
    </div>
</body>
</html>